open-yield-block-({).sublime-snippet (360B)
1 <snippet> 2 <content><![CDATA[{ ${1/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/}${1:variable}${1/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/}${2:$TM_SELECTED_TEXT} ]]></content> 3 <tabTrigger>{</tabTrigger> 4 <scope>source.ruby - string - comment</scope> 5 <description>Insert { |variable| … }</description> 6 </snippet>